package com.bolehui.domain.dto;

import com.bolehui.domain.po.AreaPO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author chendongjie     email:chendongjie@gz.iscas.ac.cn
 * @version 1.0
 * @ClassName AreaPO
 * @Description
 * @createTime 2024/12/18 9:26
 * Copyright (C) 2021-2022 CASEEDER, All Rights Reserved.
 * 注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AreaDTO {

    private static final long serialVersionUID = 3716764995876852730L;
    private Long province_id;
    private String province_name;// 区域名称
    private Long district_id;
    private String district_name;// 区域名称
    private String areaCode;// 区域编号
    private String parentCode;// 父节点
    private Long parentId;// 父节点id

    private String allAreaName;//全局地址
    private Integer sortOrder;//排序

    private String longitude;// 经度
    private String latitude;// 纬度

    private String label;
    private String value;
    private List<AreaPO> children;
}
